package org.dalmatian.common.web.properties;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import org.noear.solon.annotation.BindProps;
import org.noear.solon.annotation.Configuration;


/**
 * xss过滤 配置属性
 *
 * @author Lion Li
 */
@Data
@BindProps(prefix="xss")
@Configuration
public class XssProperties {

    /**
     * Xss开关
     */
    private Boolean enabled;

    /**
     * 排除路径
     */
    private List<String> excludeUrls = new ArrayList<>();

}
